//
//  Define.h
//  guess
//
//  Created by apple on 15/11/4.
//  Copyright © 2015年 fank. All rights reserved.
//

#ifndef Define_h
#define Define_h
//
#pragma mark-
#pragma mark-baseUrl
//
#define JOKE_TEXT_API [NSString stringWithFormat:@"http://apis.baidu.com/showapi_open_bus/showapi_joke/joke_text"]
#define JOKE_PIC_API  [NSString stringWithFormat:@"http://apis.baidu.com/showapi_open_bus/showapi_joke/joke_pic"]
#define GUEST_API     [NSString stringWithFormat:@"http://apis.baidu.com/myml/c1c/c1c"]

#define QiuBai_API    [NSString stringWithFormat:@"http://www.qiushibaike.com/video/page/"]

//分享功能的回调url
#define callBackURL    @"http://sns.whalecloud.com/sina2/callback"

//
#pragma mark-
#pragma mark-常量
//
#define KBaiDuApiKey        @"ade0c46e82a50e4d21ba134779d94254"  //百度aapiKey
#define kYiYuanSecret       @"1d70af698eeb46d289cf742ec2c92660"  //易源猜一猜secret
#define kYiYuanAppid        @"11848"                             //易源猜一猜appId

#define UmengAppkey         @"5641a81be0f55a963f002bd6"

//5641a81be0f55a963f002bd6
//屏幕尺寸
#define kscreenSize      [[UIScreen mainScreen] bounds]
#define kscreenWith      [[UIScreen mainScreen] bounds].size.width
#define kscreenHeight    [[UIScreen mainScreen] bounds].size.height

//沙盒路径
#define kDocumentPath       [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,  NSUserDomainMask,YES) objectAtIndex:0]
#define kLibraryPath       [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,  NSUserDomainMask,YES) objectAtIndex:0]

//颜色
#define UIColorFromRGBValue(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
#define RGBCOLOR(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]
#define RGBACOLOR(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
#define Font(n) [UIFont systemFontOfSize:n]
#define BoldFont(n) [UIFont boldSystemFontOfSize:n]
//
#pragma mark-
#pragma mark-头文件
#import "GHttpEnqine.h"
#import <MJRefresh/MJRefresh.h>
#import "DejalActivityView.h"
#import <MBProgressHUD.h>
#import "ABTools.h"
#import <UIImageView+WebCache.h>
#import <MediaPlayer/MPMoviePlayerController.h>
#import "UMSocial.h"
#import <ConciseKit.h>
#import <AudioToolbox/AudioToolbox.h>
#import "UIViewController+Share.h"

//社会分享
#import "UMSocialControllerService.h"
#import "UMSocialYixinHandler.h"
#import "UMSocialWechatHandler.h"
#import "UMSocialQQHandler.h"
#import "UMSocialSinaHandler.h"
#import "UMSocialSinaSSOHandler.h"
#import "WXApi.h"
#import "YXApi.h"
#import <TencentOpenAPI/QQApiInterface.h>







#endif /* Define_h */





